home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Your Apple Games Gallery 1
/
Your Apple Games Gallery (Side A)(MicroSPARC, Inc.)(1988).do
/
MAKE.TRK.DATA.bas
< prev
next >
Wrap
BASIC Source File
|
2021-12-11
|
2KB
|
50 lines
10 REM **********************
20 REM * MAKE.TRK.DATA *
30 REM * BY COLIN FRENCH *
40 REM * COPYRIGHT (C) 1986 *
50 REM * BY MICROSPARC, INC *
60 REM * CONCORD, MA 01742 *
70 REM **********************
80 ONERR GOTO 500
90 TEXT : HOME : VTAB 5: PRINT "=== FORMULA.NIBBLE TRACK GENERATOR ===": PRINT
100 PRINT "WORKING ";
110 ADD = 32768: REM -START OF TRK.CURVE.DATA AREA-
120 READ NL,C: REM -LOOP LIMIT & CURVE VALUE-
130 IF NL <0 THEN PRINT : GOTO 160
140 FOR N = 0 TO NL -1: POKE ADD +N,C: NEXT
150 ADD = ADD +NL: PRINT ".";: GOTO 120
160 TEXT : HOME : VTAB 5: IF ADD < >35840 THEN PRINT "ERROR IN DATA STATEMENTS.": END
170 PRINT "TRACKS ALL DONE!": PRINT
180 PRINT "INSERT DISK YOU WANT TO SAVE THE CURVE"
190 PRINT "DATA ON AND PRESS <RETURN> ";: GET Z$: PRINT
200 PRINT CHR$(4)"BSAVE TRK.CURVE.DATA,A$8000,L$C00"
210 PRINT "SAVE COMPLETED.": END
220 REM ---MONACO DATA---
230 DATA 32,16,16,64,56,0,16,208
240 DATA 12,176,20,96,16,0,16,96
250 DATA 16,0,16,144,16,112,16,80
260 DATA 8,48,8,48,48,32,56,0,16,176
270 DATA 8,160,8,96,8,0,8,96,8,160
280 DATA 8,0,12,224,16,112,28,48
290 DATA 24,16,512,0
300 REM ---DETROIT DATA---
310 DATA 32,0,12,176,8,0,12,176
320 DATA 16,16,24,0,16,80,8,0
330 DATA 16,80,48,208,8,176,24,16
340 DATA 32,240,24,176,16,80,88,0
350 DATA 12,176,12,80,56,0,24,176
360 DATA 16,80,8,0,8,0,24,48
370 DATA 16,144,16,32,40,0,32,16
380 DATA 32,224,8,192,16,64,8,192
390 DATA 56,0,256,0
400 REM ---MONTREAL DATA---
410 DATA 40,0,16,48,24,0,8,208
420 DATA 24,0,8,48,40,0,8,48
430 DATA 16,208,24,0,16,208,8,48
440 DATA 24,0,16,208,40,80,24,0
450 DATA 64,32,32,0,24,176,32,80
460 DATA 24,0,24,0,16,48,24,0
470 DATA 24,208,80,0,40,96,16,0
480 DATA 32,224,256,0
490 DATA -1,-1
500 HOME : TEXT : VTAB 12: PRINT "ERROR " PEEK(222)" IN LINE " PEEK(218) +256 * PEEK(219): END